package cn.gjxblog.service;

import cn.gjxblog.common.model.PageCondition;
import cn.gjxblog.model.entity.Agency;
import cn.gjxblog.model.entity.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author gjx
 * @version v1.0
 * @Description
 * @date 2018/12/18 11:31
 */
public interface AgencyService {
    void add(Agency agency);

    List<Agency> getAllAgency();

    User getAgentDetail(String id);


    Agency getAgencyDetail(String id);

    PageInfo<User> getAgentsByCondition(PageCondition pageCondition);
}
